<template>
  <div class="app-container">
    <el-tabs v-model="staffActiveName" type="border-card">
      <el-tab-pane label="账户信息" name="0">
        <account v-if="staffActiveName == 0"></account>
      </el-tab-pane>
      <el-tab-pane label="流水信息" name="1" >
        <flowing v-if="staffActiveName == 1"></flowing>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>

import account from './account.vue';
import flowing from './flowing.vue';

export default {
  name: "Account",
  components: {
    account,
    flowing
  },
  data() {
    return {
      // tab切换值
      staffActiveName: '0',
    };
  },
  created() {
  },
};
</script>
